package com.xiaomaoguai.mybatisplus.generator.core;

import java.util.ArrayList;
import java.util.List;

/**
 * @fileName: TableMeta.java
 * @author: WeiHui.Zhang
 * @date: 2016-09-22  15:53
 * @version: v1.0.0
 */
public class TableMeta {

	private String name;                    // 表名

	private String modelName;              // 生成的类名

	private String remarks;                // 表备注

	private List<ColumnMeta> columnMetas = new ArrayList<ColumnMeta>();    // 字段 meta

	private boolean importDate = false;    // 是否有日期字段，有的话包头要导入 java.util.Date;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public List<ColumnMeta> getColumnMetas() {
		return columnMetas;
	}

	public void setColumnMetas(List<ColumnMeta> columnMetas) {
		this.columnMetas = columnMetas;
	}

	public boolean isImportDate() {
		return importDate;
	}

	public void setImportDate(boolean importDate) {
		this.importDate = importDate;
	}
}
